package com.springboot.starter.coderacademy.base;

import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @version1.0
 * @description:<p></p>
 * @author:码农Academy
 * @create:2024/1/3114:38
 */

@Configuration
@ConditionalOnMissingBean(CoderAcademyService.class)
public class CoderAcademyAutoConfig {

    @Bean
    public CoderAcademyService coderAcademyService() {
        return new CoderAcademyService();
    }
}

